/**
 * @author Administrator
 */
public class PersonDemo {
    public static void main(String[] args) {

        Person p2=new Person();
        p2.SetName=("SanMu");
        String name=p2.getName();
        System.out.println(name);
        p2.setAge(25);
        System.out.println("p1对象的age是："+p2.getAge());
        p2.eat();
        p2.speak();
    }
}
